import Vue from "vue";
import Vuex from "vuex";
import designSetting from "./modules/designSetting.js";
import projectSetting from "./modules/projectSetting.js";
import course from "./modules/course.js";
import school from "./modules/school.js";
import user from "./modules/user.js";
import examPractice from "./modules/examPractice.js";
import examination from "./modules/examination.js";
import mall from "./modules/mall.js";

Vue.use(Vuex);

const store = new Vuex.Store({
    modules: {
        namespaced: true,
        designSetting,
        projectSetting,
        course,
        school,
        user,
        examPractice,
        examination,
        mall,
    },
});

export default store;
